package wzc.design_pattern.creation.factory.abstract_factory;

/**
 * @Author 王振川
 * @Date 2025/7/19
 */

public class Factory2 implements AbstractFactory{
    @Override
    public ProductA createProductA() {
        return new ConcreateProductA2();
    }

    @Override
    public ProductB createProductB() {
        return new ConcreateProductB2();
    }
}
